import request from "@/utils/request";

// 查询检查列表
export function getchecklist(query, data) {
  return request({
    url: "/system/task/checkRecordList",
    method: "post",
    params: query,
    data,
  });
}

// 查询检查列表状态值
export function getcheckStatusCount(query, data) {
  return request({
    url: "/system/task/checkRecordCount",
    method: "post",
    params: query,
    data,
  });
}

// 查询问题渲染
export function getquestion(id) {
  return request({
    url: `/system/question/${id}`,
    method: "get",
  });
}

// 查询问题渲染
export function getInfoByFollow(id) {
  return request({
    url: `/system/updateLog/getInfoByFollowId/${id}`,
    method: "get",
  });
}
